package com.site.wisdom_construction.entity.iotModule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-21 
 */
@ApiModel (value ="监控信息表实体类", description = "Monitoring")
public class Monitoring {
	/**
	 * 监控信息表id
	 */
   	@ApiModelProperty(value = "监控信息表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 监控名称
	 */
   	@ApiModelProperty(value = "监控名称", name = "monitoringName")
	private String monitoringName;

	/**
	 * 监控地址
	 */
   	@ApiModelProperty(value = "监控地址", name = "monitoringUrl")
	private String monitoringUrl;

	/**
	 * 监控token
	 */
   	@ApiModelProperty(value = "监控token", name = "accessToken")
	private String accessToken;

	public Monitoring(){ super(); }

	public Monitoring(Integer id, Integer projectId, String monitoringName, String monitoringUrl, String accessToken) {
		this.id = id;
		this.projectId = projectId;
		this.monitoringName = monitoringName;
		this.monitoringUrl = monitoringUrl;
		this.accessToken = accessToken;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getMonitoringName() {
		return this.monitoringName;
	}

	public void setMonitoringName(String monitoringName) {
		this.monitoringName = monitoringName;
	}

	public String getMonitoringUrl() {
		return this.monitoringUrl;
	}

	public void setMonitoringUrl(String monitoringUrl) {
		this.monitoringUrl = monitoringUrl;
	}

	public String getAccessToken() {
		return this.accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	@Override
	public String toString() {
		return "{" +
				"id='" + id + '\'' +
				", projectId='" + projectId + '\'' +
				", monitoringName='" + monitoringName + '\'' +
				", monitoringUrl='" + monitoringUrl + '\'' +
				", accessToken='" + accessToken + '\'' +
				'}';
	}
}
